package com.sample.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.VerticalPanel;

public class LoginManager implements EntryPoint {
	private static final AppConstants CONSTANTS = GWT.create(AppConstants.class);
	
	public void onModuleLoad() {

		RootPanel rootPanel = RootPanel.get();
		
		HorizontalPanel horizontalPanel = new HorizontalPanel();
		rootPanel.add(horizontalPanel, 10, 10);
		horizontalPanel.setSize("430px", "280px");
		
		VerticalPanel verticalPanel = new VerticalPanel();
		horizontalPanel.add(verticalPanel);
		
		Label lblLoginPage = new Label(CONSTANTS.lblLoginPage_text());
		lblLoginPage.setStyleName("gwt-Label-Login");
		verticalPanel.add(lblLoginPage);
		lblLoginPage.setWidth("154px");
		
		Login login = new Login();
		horizontalPanel.add(login);
		
	}
}
